]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lint: Require spaces inside braces in object literals
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 27 Jan 2019 21:25:30 +0000 (22:25 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 12 Jul 2019 16:01:07 +0000 (16:01 +0000)
Prohibiting spaces where the established GNOME style has required
them for a decade would be a harsh change for no good reason.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/609

lint/eslintrc-shell.json

index f59417c44d91f70c83c1c80ed34dbab044e629ca..f2524a6df47c8ab5663161c6f6540b11e4419529 100644 (file)
@@ -1,4 +1,11 @@
 {
+    "rules": {
+        "object-curly-spacing": [
+            "error",
+            "always"
+        ]
+    },
+
     "overrides": [
         {
             "files": "js/**",